package com.hsh.dao;

import com.hsh.pojo.Page;
import com.hsh.pojo.User;

import java.util.List;

/**
 * @author xrkhy
 * @date 2025/6/27 8:50
 * @description
 */
public interface UserDao {
    boolean queryUserByName(String username);
    User login(User user);
    int register(User user);
    List<User> pageQuery(Page<User> page);
    Integer queryTotalCount(Page<User> page);
    Integer deleteUser(Integer id);
    Integer updateUser(User user);
}
